#ifndef FLR_H
#define FLR_H

#include<Gl\glut.h>
#include"Bitmap.h"

/*************************************************************************************/

class Floor{
	GLuint texture;
	bitmapFile bitmap;
public:
	Floor(){
		loadBitmapFromFile("floor.bmp", &bitmap);
		glGenTextures(1, &texture);
	}

	void renderFloor();

	~Floor(){
		freeBitmapFile(&bitmap);
		glDeleteTextures(1, &texture);
	}
};

#endif